<?php
namespace Tbf\Bundle\ImageBundle\Service;
use Tbf\Bundle\ImageBundle\ResizePictureTransformer;

class ResizePicture
{
    public function newTransformer($need_width,$need_height,$quality=100)
    {
        return new ResizePictureTransformer($need_width,$need_height,$quality);
    }
    public function newSquareTransformer($size,$quality=100)
    {
        return new ResizePictureTransformer($size,$size,$quality);
    }
}
